.class Lcom/opongo/blogapp/activities/CategoryListActivity$2;
.super Landroid/content/BroadcastReceiver;
.source "CategoryListActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/opongo/blogapp/activities/CategoryListActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/opongo/blogapp/activities/CategoryListActivity;


# direct methods
.method constructor <init>(Lcom/opongo/blogapp/activities/CategoryListActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/opongo/blogapp/activities/CategoryListActivity$2;->this$0:Lcom/opongo/blogapp/activities/CategoryListActivity;

    .line 126
    invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V

    return-void
.end method


# virtual methods
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
    .locals 5
    .parameter "c"
    .parameter "i"

    .prologue
    .line 130
    invoke-virtual {p2}, Landroid/content/Intent;->getExtras()Landroid/os/Bundle;

    move-result-object v0

    .line 131
    .local v0, e:Landroid/os/Bundle;
    sget-boolean v2, Lcom/opongo/blogapp/activities/CategoryListActivity;->DEBUG:Z

    if-eqz v2, :cond_0

    invoke-static {}, Lcom/opongo/blogapp/activities/CategoryListActivity;->access$2()Ljava/lang/String;

    move-result-object v2

    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "Cat_ID: "

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, "CAT_ID"

    invoke-virtual {v0, v4}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v2, v3}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 133
    :cond_0
    new-instance v1, Landroid/content/Intent;

    const-class v2, Lcom/opongo/blogapp/activities/CategoryListActivity;

    invoke-direct {v1, p1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 134
    .local v1, intent:Landroid/content/Intent;
    const-string v2, "CAT_PARENT"

    const-string v3, "CAT_ID"

    invoke-virtual {v0, v3}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    .line 135
    const-string v2, "SHOWPUSH"

    iget-object v3, p0, Lcom/opongo/blogapp/activities/CategoryListActivity$2;->this$0:Lcom/opongo/blogapp/activities/CategoryListActivity;

    #getter for: Lcom/opongo/blogapp/activities/CategoryListActivity;->show_push_enable:Z
    invoke-static {v3}, Lcom/opongo/blogapp/activities/CategoryListActivity;->access$6(Lcom/opongo/blogapp/activities/CategoryListActivity;)Z

    move-result v3

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 136
    iget-object v2, p0, Lcom/opongo/blogapp/activities/CategoryListActivity$2;->this$0:Lcom/opongo/blogapp/activities/CategoryListActivity;

    invoke-virtual {v2, v1}, Lcom/opongo/blogapp/activities/CategoryListActivity;->startActivity(Landroid/content/Intent;)V

    .line 137
    return-void
.end method
